package org.mx.service.server.jmx;

import java.util.Set;

import org.mx.service.server.ServletServerConfigBean;

/**
 * Servlet服务器MXBean实现类
 * @author john.peng
 *
 */
public class ServletServer extends HttpServer implements ServletServerMXBean {
	private Set<String> resources;

	/**
	 * 构造函数
	 * @param configBean Servlet服务器配置信息对象
	 */
	public ServletServer(ServletServerConfigBean configBean) {
		super(configBean);
	}

	/**
	 * 设置Servlet资源类名集合
	 * @param resources 资源类名集合
	 */
	public void setServletServerResources(Set<String> resources) {
		this.resources = resources;
	}

	@Override
	public Set<String> getServletResources() {
		return resources;
	}

}
